package com.zenith.edu.po.dto;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduStudentGradeDTO", description = "学生成绩DTO")
public class EduStudentGradeDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "学生ID")
    private Long studentId;
    
    @Schema(description = "作业ID")
    private Long assignmentId;
    
    @Schema(description = "得分")
    private BigDecimal score;
    
    @Schema(description = "答对题数")
    private Integer correctNum;
    
    @Schema(description = "总题数")
    private Integer totalNum;
    
    @Schema(description = "耗时（秒）")
    private Integer spendTime;
    
    @Schema(description = "状态：1-正常 2-作废")
    private Integer status;
}